PXC Documentation

PXC Home

Sampler

pre 1.18

Sample color from an image.

Node Data

Display name

Sampler

Internal name

Node_Sampler

Inheritances

Node_Processor
Node_Sampler

Inputs

Node_Sampler

surface

Surface In

vec2

Position

islider

Sampling Size

bool

Alpha

Outputs

Node_Sampler

color

Color

Attributes

Oversample

Sampler take a position and a surface and return a color at the given position. Increasing Sampling Size will sample the larger area and returns the average.



Related Links